home *** CD-ROM | disk | FTP | other *** search
/ SGI Performance Co-Pilot 1.3 / SGI Performance Co-Pilot 1.3.iso / dist / dist6.4 / pcp.idb / usr / share / catman / u_man / cat1 / pmchart.z.z / pmchart.z / pmchart
Text File  |  1997-04-03  |  65KB  |  924 lines

  1.  
  2.  
  3.  
  4. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppmmmmcccchhhhaaaarrrrtttt - plot performance metrics against time
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ppppmmmmcccchhhhaaaarrrrtttt [----zzzz] [----tttt _d_e_l_t_a] [----hhhh _h_o_s_t] [----aaaa _a_r_c_h_i_v_e_L_i_s_t] [----cccc _c_o_n_f_i_g_f_i_l_e] [----nnnn
  13.      _n_a_m_e_s_p_a_c_e] [----oooo _o_u_t_p_u_t_F_i_l_e] [----pppp _v_c_r_P_o_r_t] [----AAAA _a_l_i_g_n] [----LLLL _l_a_b_e_l_G_a_p] [----OOOO
  14.      _o_r_i_g_i_n] [----SSSS _t_i_m_e] [----TTTT _t_i_m_e] [----ZZZZ _t_i_m_e_z_o_n_e] [----ppppffff _p_r_i_n_t_F_o_n_t] [----sssshhhh
  15.      _s_a_m_p_l_e_H_i_s_t_o_r_y] [----vvvvhhhh _v_i_s_i_b_l_e_H_i_s_t_o_r_y] [----ddddcccc _c_o_l_o_r_l_i_s_t] [----ssssccccrrrroooolllllllliiiinnnntttteeeerrrrppppoooollllaaaatttteeee
  16.      {TTTTrrrruuuueeee|FFFFaaaallllsssseeee}] [----sssstttt _t_o_l_e_r_a_n_c_e] [----mmmmiiiinnnnggggrrrraaaapppphhhhhhhheeeeiiiigggghhhhtttt _h_e_i_g_h_t] [----ggggeeeeoooommmmeeeettttrrrryyyy
  17.      _g_e_o_m_e_t_r_y] [----ddddiiiissssppppllllaaaayyyy _d_i_s_p_l_a_y] [----nnnnaaaammmmeeee _n_a_m_e] [----ttttiiiittttlllleeee _t_i_t_l_e] [----xxxxrrrrmmmm
  18.      """"_r_e_s_o_u_r_c_e_N_a_m_e:::: _v_a_l_u_e"""" ...]  [other standard X11 flags]
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      ppppmmmmcccchhhhaaaarrrrtttt is a graphical tool for the Performance Co-Pilot (PCP) which
  22.      allows interactive selection and plotting of performance metrics,
  23.      independent of their source.
  24.  
  25.      If you have a common performance problem, such as CPU, network or disk
  26.      saturation, you can use the View Selection dialog to quickly get started
  27.      - from the main menu, select VVVViiiieeeewwwwssss////VVVViiiieeeewwww SSSSeeeelllleeeeccccttttoooorrrr, click on the area of
  28.      performance you wish to monitor, and then click aaaappppppppllllyyyy.  To monitor a
  29.      remote host, simply use the option menu (labeled HHHHoooosssstttt in the View
  30.      Selection dialog) to change to the desired host before selecting the
  31.      view.  The HHHHoooosssstttt option menu can be pre-configured with the hosts you most
  32.      often want to monitor - see the description for the ppppmmmmUUUUsssseeeerrrrHHHHoooossssttttLLLLiiiisssstttt X11
  33.      application resource, below.
  34.  
  35.      As you become more familiar with ppppmmmmcccchhhhaaaarrrrtttt, you can configure your own
  36.      charts ("Views") for the particular performance problems you are
  37.      interested in monitoring, and customize these charts to suit the systems
  38.      environment you usually work within.
  39.  
  40.      ppppmmmmcccchhhhaaaarrrrtttt can display charts on any XXXX(1) server.  However, if the XXXX(1)
  41.      display is not ``GL-Capable'', then the application resource ****uuuusssseeeeGGGGllll needs
  42.      to be set to _F_a_l_s_e.  This can be done from the command line, e.g.
  43.      ppppmmmmcccchhhhaaaarrrrtttt ----xxxxrrrrmmmm """"****uuuusssseeeeGGGGllll:::: FFFFaaaallllsssseeee"""" or by putting the following line into the
  44.      user's resource database (usually by editing ~~~~////....XXXXrrrreeeessssoooouuuurrrrcccceeeessss)
  45.  
  46.                              PPPPmmmmCCCChhhhaaaarrrrtttt****uuuusssseeeeGGGGllll:::: FFFFaaaallllsssseeee
  47.  
  48.      Normally, ppppmmmmcccchhhhaaaarrrrtttt operates in ``live'' mode where performance metrics are
  49.      fetched in real-time and plotted against a time axis.  The user can
  50.      choose performance metrics and monitor the current values for these
  51.      metrics on accessible internet hosts which are running the PCP collector
  52.      software (see ppppmmmmccccdddd(1)).  ppppmmmmcccchhhhaaaarrrrtttt can also replay archives of performance
  53.      metrics (see ppppmmmmllllooooggggggggeeeerrrr(1)) and allow the user to interactively control the
  54.      current replay time and rate using a VCR paradigm.  This is particularly
  55.      useful for retrospective comparisons and for post-mortem analysis of
  56.      performance problems where a remote system is not accessible or a
  57.      performance analyst is not available on-site.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  71.  
  72.  
  73.  
  74.      All metrics in the Performance Metrics Name Space (PMNS) with numeric
  75.      value semantics can be graphed and metrics from multiple hosts may be
  76.      plotted on a common time axis.  ppppmmmmcccchhhhaaaarrrrtttt examines the semantics of
  77.      selected metrics and where sensible, converts fetched metric values to a
  78.      rate before plotting.  In the case where different metrics are plotted in
  79.      the same chart (i.e. against a common Y-axis), ppppmmmmcccchhhhaaaarrrrtttt may also scale
  80.      metric values where necessary, to produce comparable values with common
  81.      units and scale.
  82.  
  83.      By default ppppmmmmcccchhhhaaaarrrrtttt will initially allow the user to select metrics to be
  84.      plotted from the local host, however the graphical user interface allows
  85.      other hosts or archives to be chosen at any time as new sources of
  86.      performance metrics.
  87.  
  88. MMMMOOOOUUUUSSSSEEEE CCCCOOOONNNNTTTTRRRROOOOLLLLSSSS
  89.      ppppmmmmcccchhhhaaaarrrrtttt uses the left and right mouse buttons as follows;
  90.  
  91.      LLLLeeeefffftttt MMMMoooouuuusssseeee
  92.             Apart from interacting with the menus and dialogs, the left mouse
  93.             button is also used to select the current chart by clicking
  94.             anywhere on the desired chart.  At all times the current chart has
  95.             a border drawn around the graph area and the legend (if visible)
  96.             is rendered in red.
  97.  
  98.      MMMMiiiiddddddddlllleeee MMMMoooouuuusssseeee
  99.             The middle mouse button is not used.
  100.  
  101.      RRRRiiiigggghhhhtttt MMMMoooouuuusssseeee
  102.             The right mouse button is used to display metric values in a pop-
  103.             up dialog.  Clicking the right mouse in the graph drawing area of
  104.             any chart displays information about the nearest metric and it's
  105.             value, as plotted, at that point.
  106.  
  107. CCCCOOOOMMMMMMMMAAAANNNNDDDD LLLLIIIINNNNEEEE OOOOPPPPTTTTIIIIOOOONNNNSSSS
  108.      The command line options for ppppmmmmcccchhhhaaaarrrrtttt roughly correspond with the
  109.      application resources (see following Section).
  110.  
  111.      The ----SSSS, ----TTTT, ----OOOO and ----AAAA options may be used to define a time window to
  112.      restrict the samples retrieved, set an initial origin within the time
  113.      window, or specify a ``natural'' alignment of the sample times; refer to
  114.      ppppmmmmPPPPaaaarrrrsssseeeeTTTTiiiimmmmeeeeWWWWiiiinnnnddddoooowwww(3) for a complete description of these options.
  115.  
  116.      ----zzzz     Initially use the local timezone at the host that is the source of
  117.             the performance metrics, as identified via either the ----hhhh or ----aaaa
  118.             options.  The default is to initially use the timezone at the
  119.             local host.
  120.  
  121.      ----tttt _d_e_l_t_a
  122.             Set the delay between chart updates to _d_e_l_t_a seconds.  The default
  123.             is specified in the application resource ppppmmmmUUUUppppddddaaaatttteeeeIIIInnnntttteeeerrrrvvvvaaaallll.  This
  124.             can be changed at run-time from the OOOOppppttttiiiioooonnnnssss////SSSShhhhoooowwww TTTTiiiimmmmeeee CCCCoooonnnnttttrrrroooollll
  125.             dialog.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  137.  
  138.  
  139.  
  140.      ----hhhh _h_o_s_t
  141.             Causes the metric selection dialog (see NNNNeeeewwww CCCChhhhaaaarrrrtttt below) to
  142.             initially connect to _h_o_s_t rather than the local host.  Also see
  143.             the application resources ppppmmmmHHHHoooossssttttNNNNaaaammmmeeee and ppppmmmmUUUUsssseeeerrrrHHHHoooossssttttLLLLiiiisssstttt.
  144.  
  145.      ----aaaa _a_r_c_h_i_v_e_L_i_s_t
  146.             Initially opens the _a_r_c_h_i_v_e_L_i_s_t archive file(s), comprising a
  147.             comma separated list of archive file names.  The starting time is
  148.             set to the earliest starting time of all archives in the list and
  149.             the current archive (in the MMMMeeeettttrrrriiiicccc SSSSeeeelllleeeeccccttttiiiioooonnnn and VVVViiiieeeewwww SSSSeeeelllleeeeccccttttiiiioooonnnn
  150.             dialogs is initialized to be the first archive in aaaarrrrcccchhhhiiiivvvveeeeLLLLiiiisssstttt....
  151.             Also see the application resource ppppmmmmLLLLooooaaaaddddAAAArrrrcccchhhhiiiivvvveeee.
  152.  
  153.      ----cccc _c_o_n_f_i_g_f_i_l_e
  154.             Load _c_o_n_f_i_g_f_i_l_e as the starting configuration ("View") of charts.
  155.             If _c_o_n_f_i_g_f_i_l_e is - or _s_t_d_i_n then ppppmmmmcccchhhhaaaarrrrtttt will read from it's
  156.             standard input.  This is useful for scripts and other applications
  157.             which need to display a ``canned'' set of charts.  If _c_o_n_f_i_g_f_i_l_e
  158.             is not in the current directory and it doesn't start with .... or ////
  159.             then ppppmmmmcccchhhhaaaarrrrtttt will also search for a file of the same name first in
  160.             the user view directory (default $$$$HHHHOOOOMMMMEEEE////....ppppccccpppp) and failing that, in
  161.             the system view directory (default ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmcccchhhhaaaarrrrtttt) Also
  162.             see the application resource ppppmmmmLLLLooooaaaaddddFFFFiiiilllleeee, and the section titled
  163.             CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX.  The easiest way to create a suitable
  164.             _c_o_n_f_i_g_f_i_l_e is to interactively create the required charts, save
  165.             the chart configuration using VVVViiiieeeewwwwssss////VVVViiiieeeewwww SSSSaaaavvvveeee, and then edit the
  166.             resulting save file (look for it in ~~~~////....ppppccccpppp////_f_i_l_e_n_a_m_e).
  167.  
  168.      ----nnnn _n_a_m_e_s_p_a_c_e
  169.             Use _n_a_m_e_s_p_a_c_e rather than the default PMNS.  This can not be
  170.             changed at run-time.  Also see the application resource
  171.             ppppmmmmNNNNaaaammmmeeeeSSSSppppaaaacccceeee.
  172.  
  173.      ----oooo _o_u_t_p_u_t_F_i_l_e
  174.             In this mode, ppppmmmmcccchhhhaaaarrrrtttt will not display anything, but rather create
  175.             a set of charts and then save a snapshot image in the file
  176.             _o_u_t_p_u_t_F_i_l_e in GIF format.  If _o_u_t_p_u_t_F_i_l_e is - or _s_t_d_o_u_t then the
  177.             output is sent to the standard output stream.  This non-
  178.             interactive mode is useful for generating charts from scripts for
  179.             automatic inclusion in web documents, or whatever.  The ----oooo option
  180.             requires ----cccc for the the view to create.  In archive mode (----aaaa is
  181.             given) ppppmmmmcccchhhhaaaarrrrtttt generates _o_u_t_p_u_t_F_i_l_e, and then exits; this mode is
  182.             usually run periodically from ccccrrrroooonnnnttttaaaabbbb(1) using ccccrrrroooonnnn....ppppmmmmssssnnnnaaaapppp(1) and
  183.             a set of archive logs under the management of ccccrrrroooonnnn....ppppmmmmddddaaaaiiiillllyyyy(1).  In
  184.             live mode (----hhhh is given or neither ----aaaa or ----hhhh is given), ppppmmmmcccchhhhaaaarrrrtttt
  185.             creates or overwrites _o_u_t_p_u_t_F_i_l_e every time the charts scroll
  186.             (i.e. on every update); the minimum (and default) update interval
  187.             in this mode is _3_0 _s_e_c_o_n_d_s.  This may be changed with the ----tttt
  188.             option, as described below.  Normally, ----LLLL, ----SSSS, ----vvvvhhhh, ----sssshhhh and
  189.             ----ggggeeeeoooommmmeeeettttrrrryyyy would also be specified on the command line to affect
  190.             the appearance of the generated image.  In archive mode, often the
  191.             ----OOOO option is also used with the argument -_0 in order to display
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  203.  
  204.  
  205.  
  206.             the most recent data up to the current end of the archive.  The
  207.             size of the generated image will be slightly smaller than the the
  208.             size requested with the ----ggggeeeeoooommmmeeeettttrrrryyyy option.  This is because not all
  209.             of the ppppmmmmcccchhhhaaaarrrrtttt main window is included in the snapshot, e.g. the
  210.             menu bar is excluded.  Also, if the requested height is less than
  211.             that required to satisfy the ----mmmmiiiinnnnggggrrrraaaapppphhhhhhhheeeeiiiigggghhhhtttt setting, then the
  212.             height is silently increased as required.
  213.  
  214.      ----pppp _v_c_r_P_o_r_t
  215.             This option is normally used when ppppmmmmcccchhhhaaaarrrrtttt is launched as a time
  216.             synchronized child from another tool.  Rather than create a new
  217.             time control connection, ppppmmmmcccchhhhaaaarrrrtttt will attempt to connect to an
  218.             existing time controller on the port named _v_c_r_P_o_r_t, which should
  219.             be a path to a UNIX domain socket in the file system.
  220.  
  221.      ----LLLL _l_a_b_e_l_G_a_p
  222.             When ----oooo is used, ----LLLL forces _l_a_b_e_l_G_a_p ticks on the time-scale
  223.             between labels.  This is useful for labeling the time-scale with
  224.             easily readable real-time events, e.g.  ----LLLL _4 ----tttt _1_5_m_i_n ----AAAA _1_h_o_u_r_P
  225.             forces hourly labels with four, 15 minute ticks between each
  226.             label.  The default label gap is determined dynamically, depending
  227.             on tick density, main window geometry and assorted other factors.
  228.  
  229.      ----ZZZZ _t_i_m_e_z_o_n_e
  230.             Initially use _t_i_m_e_z_o_n_e when displaying the date and time.
  231.             _T_i_m_e_z_o_n_e is in the format of the environment variable TTTTZZZZ as
  232.             described in eeeennnnvvvviiiirrrroooonnnn(5).
  233.  
  234.      ----ppppffff _p_r_i_n_t_f_o_n_t
  235.             Use the Postscript font named _p_r_i_n_t_f_o_n_t when printing charts.  The
  236.             default, if neither the ----ppppffff command line option nor the
  237.             ppppmmmmPPPPrrrriiiinnnnttttFFFFoooonnnntttt application resource are specified, uses a font which
  238.             roughly matches the fonts used in the charts.  These are in turn
  239.             controlled by the application resources xxxxrrrrttttLLLLeeeeggggeeeennnnddddFFFFoooonnnntttt and
  240.             xxxxrrrrttttAAAAxxxxiiiissssFFFFoooonnnntttt.  See the application defaults file ////uuuussssrrrr////lllliiiibbbb////XXXX11111111////aaaapppppppp----
  241.             ddddeeeeffffaaaauuuullllttttssss////PPPPmmmmCCCChhhhaaaarrrrtttt to discover the names of the fonts available.
  242.  
  243.      ----sssshhhh _s_a_m_p_l_e_H_i_s_t_o_r_y
  244.      ----vvvvhhhh _v_i_s_i_b_l_e_H_i_s_t_o_r_y
  245.             ppppmmmmcccchhhhaaaarrrrtttt maintains a history of _s_a_m_p_l_e_H_i_s_t_o_r_y metric values, of
  246.             which _v_i_s_i_b_l_e_H_i_s_t_o_r_y are visible at any time.  Although
  247.             _v_i_s_i_b_l_e_H_i_s_t_o_r_y can be changed at run-time (see OOOOppppttttiiiioooonnnnssss////SSSShhhhoooowwww TTTTiiiimmmmeeee
  248.             CCCCoooonnnnttttrrrroooollll below) to control the time duration (or ``window'') of the
  249.             charts, _s_a_m_p_l_e_H_i_s_t_o_r_y can not be changed at run-time.  The
  250.             defaults for these arguments are specified in the ppppmmmmSSSSaaaammmmpppplllleeeeHHHHiiiissssttttoooorrrryyyy
  251.             and ppppmmmmVVVViiiissssiiiibbbblllleeeeHHHHiiiissssttttoooorrrryyyy application resources.  If _v_i_s_i_b_l_e_H_i_s_t_o_r_y is
  252.             greater than _s_a_m_p_l_e_H_i_s_t_o_r_y, then _s_a_m_p_l_e_H_i_s_t_o_r_y is silently
  253.             increased to equal _v_i_s_i_b_l_e_H_i_s_t_o_r_y.
  254.  
  255.      ----ddddcccc _c_o_l_o_r_l_i_s_t
  256.             Use the comma or space separated list of color names specified in
  257.             _c_o_l_o_r_l_i_s_t as the default color scheme (i.e. colors to be used in
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  269.  
  270.  
  271.  
  272.             plots where no explicit color has been given).  E.g.
  273.                            ppppmmmmcccchhhhaaaarrrrtttt ----ddddcccc """"rrrreeeedddd,,,,ggggrrrreeeeeeeennnn,,,,bbbblllluuuueeee,,,,####ffffffff3333333300000000""""
  274.             When all colors in _c_o_l_o_r_l_i_s_t have been used for a particular
  275.             chart, subsequent plots will cycle through the colors again.  The
  276.             default _c_o_l_o_r_l_i_s_t specified in the application defaults contains
  277.             12 colors corresponding to sequentially opposite corners of the
  278.             hsv color cube.  The application resource corresponding to this
  279.             option is ppppmmmmDDDDeeeeffffaaaauuuullllttttCCCCoooolllloooorrrrssss.  The default color scheme is called #-
  280.             _c_y_c_l_e.  The Section below titled CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX
  281.             describes how use custom color schemes in ppppmmmmcccchhhhaaaarrrrtttt configuration
  282.             files.
  283.  
  284.      ----ssssccccrrrroooolllllllliiiinnnntttteeeerrrrppppoooollllaaaatttteeee {TTTTrrrruuuueeee|FFFFaaaallllsssseeee}
  285.             Affects scrolling behavior when there are long fetch latencies
  286.             either due to a slow network connection or the ppppmmmmccccdddd(1) agent is
  287.             slow to respond.  When the update interval is less than the fetch
  288.             latency then multiple scrolling may be required to keep up with
  289.             real-time.  If the option argument to ----ssssccccrrrroooolllllllliiiinnnntttteeeerrrrppppoooollllaaaatttteeee is FFFFaaaallllsssseeee
  290.             (the default) then ``holes'' are plotted for the extra scrolled
  291.             points.  If TTTTrrrruuuueeee, then the most recently fetched values are
  292.             ``scrolled-in''.  When replaying an archive this option has no
  293.             effect because multiple scrolling is never required.  The
  294.             corresponding application resource is ppppmmmmSSSSccccrrrroooollllllllIIIInnnntttteeeerrrrppppoooollllaaaatttteeee.
  295.  
  296.      ----mmmmiiiinnnnggggrrrraaaapppphhhhhhhheeeeiiiigggghhhhtttt _h_e_i_g_h_t
  297.             Causes the minimum allowable height of the graph area in all
  298.             charts to be _h_e_i_g_h_t.  All charts have the same graph area height
  299.             but may have different overall heights depending on the height of
  300.             the legend.  The default is specified in the application resource
  301.             ppppmmmmMMMMiiiinnnnGGGGrrrraaaapppphhhhHHHHeeeeiiiigggghhhhtttt.
  302.  
  303.      ----sssstttt _t_o_l_e_r_a_n_c_e
  304.             When ppppmmmmcccchhhhaaaarrrrtttt is started and more than one archive is named on the
  305.             command line, if the difference in the starting times of one or
  306.             more archives exceeds _t_o_l_e_r_a_n_c_e percent of the visible history
  307.             (see ----vvvvhhhh) then a warning message is generated.  The most common
  308.             scenario for this to occur is when ppppmmmmcccchhhhaaaarrrrtttt is used to record an
  309.             archive folio for multiple hosts, but one or more of these hosts
  310.             does not have a synchronized clock (see ttttiiiimmmmeeeedddd(1) for details about
  311.             how to synchronize the clocks on the machines on the local area
  312.             network).  The corresponding application resource is
  313.             ppppmmmmCCCClllloooocccckkkkSSSSkkkkeeeewwwwTTTToooolllleeeerrrraaaannnncccceeee.
  314.  
  315.      ----ggggeeeeoooommmmeeeettttrrrryyyy _g_e_o_m_e_t_r_y
  316.  
  317.      ----ddddiiiissssppppllllaaaayyyy _d_i_s_p_l_a_y
  318.  
  319.      ----nnnnaaaammmmeeee _n_a_m_e
  320.  
  321.      ----ttttiiiittttlllleeee _t_i_t_l_e
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  335.  
  336.  
  337.  
  338.      ----xxxxrrrrmmmm _r_e_s_o_u_r_c_e_N_a_m_e: _v_a_l_u_e
  339.             Most standard XXXX(1) command line arguments may be used.
  340.  
  341. MMMMEEEENNNNUUUUSSSS
  342.      There are three main menus in ppppmmmmcccchhhhaaaarrrrtttt's user interface which control
  343.      recording archives and printing charts  (FFFFiiiilllleeee), allow pre-defined or
  344.      previously saved "Views" to be displayed (VVVViiiieeeewwwwssss), change various options
  345.      for currently displayed charts (EEEEddddiiiitttt) and change various global options
  346.      (OOOOppppttttiiiioooonnnnssss).  The EEEEddddiiiitttt menu also allows custom charts to be created.  There
  347.      is detailed on-line help available in ppppmmmmcccchhhhaaaarrrrtttt and hence the following
  348.      provides only a brief description of each menu function.
  349.  
  350.      FFFFiiiilllleeee////RRRReeeeccccoooorrrrdddd
  351.             ``Records'' an archive folio containing all the metrics from the
  352.             currently displayed set of charts, from the current time until
  353.             recording is explicitly stopped.  When FFFFiiiilllleeee////RRRReeeeccccoooorrrrdddd is invoked, a
  354.             file chooser dialog is displayed to allow the user to specify the
  355.             path name of the new archive folio.  If the directory path to this
  356.             file does not exist, ppppmmmmcccchhhhaaaarrrrtttt will attempt to create it.  It is
  357.             usually convenient to keep each archive folio in its own
  358.             directory.  ppppmmmmcccchhhhaaaarrrrtttt then forks and execs a ppppmmmmllllooooggggggggeeeerrrr(1) process for
  359.             each host represented in the current set of charts with a
  360.             configuration file that matches the metrics and instances
  361.             currently displayed for each such host.  At some later time, the
  362.             user should invoke FFFFiiiilllleeee////SSSSttttoooopppp RRRReeeeccccoooorrrrddddiiiinnnngggg to terminate the
  363.             ppppmmmmllllooooggggggggeeeerrrr(1) processes.  Note that FFFFiiiilllleeee////SSSSttttoooopppp RRRReeeeccccoooorrrrddddiiiinnnngggg can also be
  364.             used to check on the progress of the recording without actually
  365.             stopping it.  At any later time, ppppmmmmcccchhhhaaaarrrrtttt can be used to replay the
  366.             archive folio using the command:  ````````ppppmmmmaaaaffffmmmm _f_o_l_i_o rrrreeeeppppllllaaaayyyy''''''''.  See
  367.             ppppmmmmaaaaffffmmmm(1) for further details.
  368.  
  369.      FFFFiiiilllleeee////PPPPrrrriiiinnnntttt
  370.             Pops up a dialog to print either the current chart or all charts
  371.             to a file or directly to a Postscript printer.
  372.  
  373.      FFFFiiiilllleeee////QQQQuuuuiiiitttt
  374.             Terminates all connections and exits.  Also closes the connection
  375.             to ppppmmmmttttiiiimmmmeeee(1), which will exit if there are no remaining time
  376.             control clients.
  377.  
  378.      VVVViiiieeeewwww////VVVViiiieeeewwww SSSSeeeelllleeeeccccttttoooorrrr
  379.             Pops up the View Selection dialog to choose a set of charts to
  380.             display.  There are pre-defined views that specify charts for
  381.             common performance problems as well as your own user-defined views
  382.             (if any have previously been saved).  There are two types of views
  383.             - _d_y_n_a_m_i_c _v_i_e_w_s and _l_i_t_e_r_a_l _v_i_e_w_s.  Dynamic views allow the host
  384.             to be changed before the charts comprising the view are created.
  385.             All the pre-defined views (on the left side of the dialog) are
  386.             dynamic views.  Literal views contain references to specific
  387.             hosts.  The target host can not be changed when a literal view is
  388.             selected.  Views saved via the VVVViiiieeeewwwwssss////VVVViiiieeeewwww SSSSaaaavvvveeee dialog are literal
  389.             views by default.  The Section below titled GGGGEEEENNNNEEEERRRRAAAALLLLIIIIZZZZEEEEDDDD
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  401.  
  402.  
  403.  
  404.             CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEESSSS describes how to change a literal view into a
  405.             dynamic view.
  406.             When replaying an archive, you can only show views for metrics
  407.             contained in the archive.  For this purpose, there are ppppmmmmllllooooggggggggeeeerrrr(1)
  408.             configuration files for the pre-defined views in the files
  409.             ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmllllooooggggggggeeeerrrr////ccccoooonnnnffffiiiigggg....vvvviiiieeeewwww....****.  To create an archive
  410.             containing the metrics required to display any of the pre-defined
  411.             views, use the command;
  412.                ccccaaaatttt ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmllllooooggggggggeeeerrrr////ccccoooonnnnffffiiiigggg....vvvviiiieeeewwww....**** |||| \\\\
  413.                ////uuuussssrrrr////ppppccccpppp////bbbbiiiinnnn////ppppmmmmllllooooggggggggeeeerrrr ----TTTT 3333666600000000 vvvviiiieeeewwwwaaaarrrrcccchhhhiiiivvvveeee
  414.             This will create an archive called vvvviiiieeeewwwwaaaarrrrcccchhhhiiiivvvveeee containing one hour
  415.             of data for all the metrics in all pre-defined views, sampled at
  416.             15 second intervals.
  417.  
  418.      VVVViiiieeeewwww////SSSSaaaavvvveeee
  419.             Pops up a file selector dialog to choose a file to save the
  420.             configuration of the currently displayed set of charts.  This file
  421.             immediately appears as a user-defined View in the View Selection
  422.             dialog.  The initial directory is set to that specified by the
  423.             ppppmmmmVVVViiiieeeewwwwUUUUsssseeeerrrrDDDDiiiirrrr, which defaults to ~~~~////....ppppccccpppp.  The system view
  424.             directory is specified by the ppppmmmmVVVViiiieeeewwwwSSSSyyyyssssDDDDiiiirrrr resource, and is not
  425.             normally over-ridden.
  426.  
  427.      EEEEddddiiiitttt////NNNNeeeewwww CCCChhhhaaaarrrrtttt
  428.             Pops up the Metric Selection dialog to create custom charts.  This
  429.             involves selecting a performance metric, then either adding it to
  430.             an existing chart, or creating a new chart.
  431.  
  432.      EEEEddddiiiitttt////VVVViiiissssiiiibbbblllleeee DDDDaaaattttaaaa PPPPooooiiiinnnnttttssss
  433.             Allows the number of visible data points (i.e. the ``history'') to
  434.             be changed using a scaler widget.
  435.  
  436.      EEEEddddiiiitttt////CCCChhhhaaaarrrrtttt SSSSttttyyyylllleeee
  437.             Changes the style of the current chart.  Available styles include:
  438.  
  439.             lllliiiinnnneeee Draws a single line for each plot.  If auto-scaling is not
  440.                  enabled for the current chart, the plot is clipped to the
  441.                  minimum and maximum Y-values.  The original unclipped data
  442.                  points are ``remembered'' so that if new scaling parameters
  443.                  are specified then the plot will be clipped accordingly.
  444.  
  445.             bbbbaaaarrrr  Draws bars side by side for each plot in the current chart.
  446.  
  447.             ssssttttaaaacccckkkkeeeedddd----bbbbaaaarrrr
  448.                  Draws bars stacked vertically so that the maximum height of a
  449.                  bar is the sum of the heights of the bars for all plots.
  450.  
  451.             aaaarrrreeeeaaaa Same as lllliiiinnnneeee but the area under each plot is filled.  This is
  452.                  only really useful for charts which have a single plot, but
  453.                  does have the advantage of greater visibility from a
  454.                  distance.
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  467.  
  468.  
  469.  
  470.             uuuuttttiiiilllliiiizzzzaaaattttiiiioooonnnn
  471.                  This a special form of ssssttttaaaacccckkkkeeeedddd----bbbbaaaarrrr but the height is always
  472.                  100%; i.e. the sum of the bars is used to normalize the
  473.                  height of the stacked bar.
  474.  
  475.      EEEEddddiiiitttt////LLLLeeeeggggeeeennnndddd
  476.             Pops up a dialog for the current chart that controls whether the
  477.             legend is visible or not.
  478.  
  479.      EEEEddddiiiitttt////YYYY----AAAAxxxxiiiissss SSSSccccaaaalllliiiinnnngggg
  480.             Pops up a dialog controlling the scaling parameters of the current
  481.             chart.  If auto-scale is disabled, the user can specify the
  482.             minimum and maximum Y-axis values.  Values outside these ranges
  483.             will be clipped.  If auto-scale is enabled, the minimum Y-axis
  484.             value is zero and the maximum is the highest Y-value that is
  485.             visible in any plot in the current chart.
  486.  
  487.      EEEEddddiiiitttt////CCCCoooolllloooorrrrssss
  488.             Pops up a dialog to allow the user to change the color of the plot
  489.             for an individual metric from the current chart.
  490.  
  491.      EEEEddddiiiitttt////DDDDeeeelllleeeetttteeee////DDDDeeeelllleeeetttteeee PPPPllllooootttt
  492.             Pops up a dialog to allow the user to delete an individual plot
  493.             from the current chart.
  494.  
  495.      EEEEddddiiiitttt////DDDDeeeelllleeeetttteeee////DDDDeeeelllleeeetttteeee CCCChhhhaaaarrrrtttt
  496.             Deletes the current chart.  The most recently created chart
  497.             becomes the new current chart.
  498.  
  499.      EEEEddddiiiitttt////DDDDeeeelllleeeetttteeee DDDDeeeelllleeeetttteeee AAAAllllllll
  500.             Delete all currently displayed charts and return to the default
  501.             starting state where only the time axis is displayed.
  502.  
  503.      OOOOppppttttiiiioooonnnnssss////SSSShhhhoooowwww TTTTiiiimmmmeeee CCCCoooonnnnttttrrrroooollll
  504.             Toggles the visibility of the ppppmmmmttttiiiimmmmeeee(1) time control dialog.  The
  505.             same dialog is also activated by pressing the push-button in the
  506.             lower left corner of the main window.
  507.  
  508.      OOOOppppttttiiiioooonnnnssss////NNNNeeeewwww TTTTiiiimmmmeeee CCCCoooonnnnttttrrrroooollll
  509.             Disconnects from the current time control server and connects to a
  510.             new one, initially as the only client.  If ppppmmmmcccchhhhaaaarrrrtttt was the only
  511.             client of the previous time control server, then that server will
  512.             exit and remove it's control port.  See ppppmmmmttttiiiimmmmeeee(1) for further
  513.             details.
  514.  
  515.      OOOOppppttttiiiioooonnnnssss////LLLLaaaauuuunnnncccchhhh NNNNeeeewwww ppppmmmmcccchhhhaaaarrrrtttt
  516.             Launches another ppppmmmmcccchhhhaaaarrrrtttt session with shared (synchronized) time
  517.             controls.  In live mode, synchronized ppppmmmmcccchhhhaaaarrrrtttt windows will share a
  518.             common update interval and timezone setting.  In archive mode,
  519.             synchronized ppppmmmmcccchhhhaaaarrrrtttt windows also share the current archive
  520.             position and time control mode.
  521.  
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  533.  
  534.  
  535.  
  536. AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  537.      ppppmmmmUUUUsssseeeerrrrHHHHoooossssttttLLLLiiiisssstttt
  538.           This is a comma separated list of host names.  During
  539.           initialization, ppppmmmmcccchhhhaaaarrrrtttt will add each host to the host option-menu
  540.           in the metric selection dialog.  This particular resource would
  541.           normally be placed in a user's ~~~~////....XXXXrrrreeeessssoooouuuurrrrcccceeeessss file and contain the
  542.           list of hosts the user most often monitors.  Note that when a
  543.           ppppmmmmcccchhhhaaaarrrrtttt configuration file is loaded (see ----cccc and the description of
  544.           the View Selection dialog), the hosts specified in the file will
  545.           also be added to the metric selection dialog (if not already
  546.           present).
  547.  
  548.      ppppmmmmVVVViiiieeeewwwwUUUUsssseeeerrrrDDDDiiiirrrr
  549.           The View Selection dialog searches this directory for user-defined
  550.           views.  The default directory is ~~~~////....ppppccccpppp.  All files in this
  551.           directory will be inserted into the user-defined views list in the
  552.           View Selection dialog.
  553.  
  554.      ppppmmmmVVVViiiieeeewwwwSSSSyyyyssssDDDDiiiirrrr
  555.           The View Selection dialog searches this directory for pre-defined
  556.           views.  The default directory is ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmcccchhhhaaaarrrrtttt.
  557.  
  558.      ppppmmmmNNNNaaaammmmeeeeSSSSppppaaaacccceeee
  559.           The PMAPI name space file - an empty string means use the default
  560.           PMNS, which is found in the file /_v_a_r/_p_c_p/_p_m_n_s/_r_o_o_t unless the
  561.           environment variable PPPPMMMMNNNNSSSS____DDDDEEEEFFFFAAAAUUUULLLLTTTT is set, in which case the value is
  562.           assumed to be the pathname to the file containing the default PMNS.
  563.  
  564.      ppppmmmmSSSSaaaammmmpppplllleeeeHHHHiiiissssttttoooorrrryyyy
  565.           The number of data points.  This is not changeable at run-time.  The
  566.           default is 120.
  567.  
  568.      ppppmmmmVVVViiiissssiiiibbbblllleeeeHHHHiiiissssttttoooorrrryyyy
  569.           Number of data intervals that are actually visible.  Changeable at
  570.           runtime using the slider in the OOOOppppttttiiiioooonnnnssss////SSSShhhhoooowwww TTTTiiiimmmmeeee CCCCoooonnnnttttrrrroooollll dialog.
  571.           The default is 30.
  572.  
  573.      ppppmmmmUUUUppppddddaaaatttteeeeIIIInnnntttteeeerrrrvvvvaaaallll
  574.           Milliseconds between updates.  This is changeable at runtime using
  575.           the textbox in the OOOOppppttttiiiioooonnnnssss////SSSShhhhoooowwww TTTTiiiimmmmeeee CCCCoooonnnnttttrrrroooollll dialog.
  576.  
  577.      ppppmmmmLLLLooooaaaaddddFFFFiiiilllleeee
  578.           Name of file, if any, to be used to load initial chart
  579.           configuration.
  580.  
  581.      ppppmmmmPPPPrrrriiiinnnnttttFFFFoooonnnntttt
  582.           Postscript font for output.  If not defined, the font is chosen to
  583.           match the screen font.
  584.  
  585.      ppppmmmmCCCClllloooocccckkkkSSSSkkkkeeeewwwwTTTToooolllleeeerrrraaaannnncccceeee
  586.           See the description for the ----sssstttt command line option (above).
  587.  
  588.  
  589.  
  590.  
  591.                                                                         PPPPaaaaggggeeee 9999
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  599.  
  600.  
  601.  
  602.      ppppmmmmSSSSccccrrrroooollllllllIIIInnnntttteeeerrrrppppoooollllaaaatttteeee
  603.           See the description for the ----ssssccccrrrroooolllllllliiiinnnntttteeeerrrrppppoooollllaaaatttteeee command line option
  604.           (above).
  605.  
  606.      ppppmmmmDDDDeeeeffffaaaauuuullllttttCCCCoooolllloooorrrrssss
  607.           This resource is a comma or space separated list of colors,
  608.           specifying the default color scheme named #-_c_y_c_l_e....  Each color in
  609.           the list is either a color name from ////uuuussssrrrr////lllliiiibbbb////XXXX11111111////rrrrggggbbbb....ttttxxxxtttt or a color
  610.           in any of the XXXX11111111(1) /CIE formats (e.g.####ffffffff0000000000000000 specifies RRRReeeedddd).
  611.  
  612.      ppppmmmmMMMMiiiinnnnGGGGrrrraaaapppphhhhHHHHeeeeiiiigggghhhhtttt
  613.           All charts have the same graph height, but the legend area is
  614.           variable height depending on the number of plots in each chart.
  615.           This resource specifies the minimum allowed height of the graph
  616.           drawing areas.
  617.  
  618.      xxxxrrrrttttDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr
  619.           avoids flicker in chart updates, but twice as many color table
  620.           entries are used.
  621.  
  622.      xxxxrrrrttttFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  623.  
  624.      xxxxrrrrttttBBBBaaaacccckkkkggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  625.  
  626.      xxxxrrrrttttGGGGrrrraaaapppphhhhFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  627.  
  628.      xxxxrrrrttttGGGGrrrraaaapppphhhhBBBBaaaacccckkkkggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  629.  
  630.      xxxxrrrrttttHHHHeeeeaaaaddddeeeerrrrFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  631.  
  632.      xxxxrrrrttttHHHHeeeeaaaaddddeeeerrrrBBBBaaaacccckkkkggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr
  633.           Various colors; can be changed to suit.  Note that
  634.           xxxxrrrrttttGGGGrrrraaaapppphhhhFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr and xxxxrrrrttttHHHHeeeeaaaaddddeeeerrrrFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr default to
  635.           xxxxrrrrttttFFFFoooorrrreeeeggggrrrroooouuuunnnnddddCCCCoooolllloooorrrr if not specified (likewise for the background
  636.           colors).  Also see ppppmmmmDDDDeeeeffffaaaauuuullllttttCCCCoooolllloooorrrrssss above.
  637.  
  638.      xxxxrrrrttttBBBBaaaarrrrCCCClllluuuusssstttteeeerrrrWWWWiiiiddddtttthhhh
  639.           Controls the width of bars.  If set to less than 111100000000 this will
  640.           restrict the number of visible intervals before the border that is
  641.           drawn around each bar starts to blend, obscuring the color of the
  642.           bar.
  643.  
  644.      xxxxrrrrttttLLLLeeeeggggeeeennnnddddFFFFoooonnnntttt
  645.  
  646.      xxxxrrrrttttAAAAxxxxiiiissssFFFFoooonnnntttt
  647.           These resources control the legend and axis fonts respectfully.  If
  648.           set to large point sizes ppppmmmmcccchhhhaaaarrrrtttt will compensate with the chart
  649.           layout.  This is useful for viewing charts from a distance
  650.           (presentations, demos, etc).
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                                                                        PPPPaaaaggggeeee 11110000
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  665.  
  666.  
  667.  
  668. DDDDIIIIAAAALLLLOOOOGGGG GGGGEEEEOOOOMMMMEEEETTTTRRRRYYYY RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  669.      The following resources define the geometry of the various dialogs used
  670.      in ppppmmmmcccchhhhaaaarrrrtttt.  These resources may be used to control the height, width and
  671.      location of dialogs.  By default, the corresponding hhhheeeeiiiigggghhhhtttt and wwwwiiiiddddtttthhhh
  672.      resources control the height and width geometry settings, and the
  673.      location settings are left undefined (hence the user manually places each
  674.      dialog when it is mapped to the screen).
  675.  
  676.      mmmmeeeettttrrrriiiiccccSSSSeeeelllleeeeccccttttDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  677.           The Metric Selection dialog.
  678.  
  679.      vvvviiiieeeewwwwSSSSeeeelllleeeeccccttttDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  680.           The View Selectin dialog.
  681.  
  682.      gggglllloooobbbbaaaallllCCCCoooonnnnttttrrrroooollllDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  683.           The Global Controls/VCR dialog.
  684.  
  685.      ffffiiiilllleeeeSSSSaaaavvvveeeeDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  686.           The View Save dialog.
  687.  
  688.      aaaarrrrcccchhhhiiiivvvveeeeLLLLooooaaaaddddDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  689.           The Archive Open dialog.
  690.  
  691.      pppprrrriiiinnnnttttDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  692.           The Print dialog.
  693.  
  694.      iiiinnnnffffooooDDDDiiiiaaaallllooooggggSSSShhhheeeellllllll****ggggeeeeoooommmmeeeettttrrrryyyy
  695.           The Metric Information dialog (invoked from the Metric Select
  696.           dialog).
  697.  
  698.      vvvvaaaalllluuuueeeeDDDDiiiiaaaallllooooggggSSSShhhheeeellllllll****ggggeeeeoooommmmeeeettttrrrryyyy
  699.           The Metric Value Information dialog (invoked using the right mouse
  700.           button in a chart).
  701.  
  702.      mmmmeeeettttrrrriiiiccccCCCCoooolllloooorrrrssssDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  703.           The Metric Colors dialog.
  704.  
  705.      mmmmeeeettttrrrriiiiccccCCCCoooolllloooorrrrssssDDDDiiiiaaaalllloooogggg****ccccoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  706.           The Color Chooser dialog (invoked from the Metric Colors dialog).
  707.  
  708.      mmmmeeeettttrrrriiiiccccDDDDeeeelllleeeetttteeeeDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  709.           The Metric Delete dialog.
  710.  
  711.      ssssccccaaaalllleeeeCCCCoooonnnnttttrrrroooollllDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  712.           The Y-Axis Scale Control dialog.
  713.  
  714.      lllleeeeggggeeeennnnddddCCCCoooonnnnttttrrrroooollllDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  715.           The Legend Control dialog.
  716.  
  717.      vvvviiiissssiiiibbbblllleeeePPPPooooiiiinnnnttttssssDDDDiiiiaaaalllloooogggg****ggggeeeeoooommmmeeeettttrrrryyyy
  718.           The Visible Points dialog.
  719.  
  720.  
  721.  
  722.  
  723.                                                                        PPPPaaaaggggeeee 11111111
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  731.  
  732.  
  733.  
  734.      The default values for these resources (as specified in
  735.      ////uuuussssrrrr////lllliiiibbbb////XXXX11111111////aaaapppppppp----ddddeeeeffffaaaauuuullllttttssss////PPPPmmmmCCCChhhhaaaarrrrtttt) defines the width and height of each
  736.      dialog, but the X and Y positions are not specified - hence dialogs use
  737.      interactive placement by default, unless the _d_e_s_k_t_o_p(1) has been
  738.      configured for random window placement.  Consult the XXXX(1) man page for
  739.      details of the syntax for geometry resources.
  740.  
  741. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX
  742.      The parser implements a simple grammar as follows; keywords are shown
  743.      literally, variables are enclosed in angle brackets and optional syntax
  744.      is enclosed in square brackets.  Ellipsis denotes repetition.  Blank
  745.      lines and lines starting with #### are ignored.  A new line is expected
  746.      between each CCCChhhhaaaarrrrtttt and between each PPPPllllooootttt.  Case is not significant for
  747.      keywords.
  748.  
  749.           # comment
  750.           Version <number> [host dynamic|literal]
  751.           Scheme <schemename> color color ...
  752.           Scheme ...
  753.           Chart Style <style> [Scale from <min> to <max>] [Legend off]
  754.               Plot Color <color> Host <host> Metric <metric> [Instance <instance>]
  755.               Plot Color <color> Host <host> Metric <metric> [Matching <regex>]
  756.               Plot ...
  757.           Chart ...
  758.      Each line starting with SSSScccchhhheeeemmmmeeee specifies a list of colors comprising the
  759.      color scheme named <_s_c_h_e_m_e_n_a_m_e>.  The default color scheme is named #-
  760.      _c_y_c_l_e, and is predefined using an XXXX(1) resource (see the ppppmmmmDDDDeeeeffffaaaauuuullllttttCCCCoooolllloooorrrrssss
  761.      application resource or the ----ddddcccc command line argument).  A color scheme
  762.      declaration extends to the end of the line.
  763.  
  764.      Each line starting with CCCChhhhaaaarrrrtttt creates a new chart containing the plots
  765.      specified on each subsequent line starting with PPPPllllooootttt.  If the SSSSccccaaaalllleeee for a
  766.      chart is not specified, then the chart will use auto-scaling.  <_s_t_y_l_e>
  767.      must be one of ppppllllooootttt, aaaarrrreeeeaaaa, bbbbaaaarrrr, ssssttttaaaacccckkkkiiiinnnngggg or uuuuttttiiiilllliiiizzzzaaaattttiiiioooonnnn.  The LLLLeeeeggggeeeennnndddd is
  768.      on (i.e. shown) by default.  <_c_o_l_o_r_s> are specified in the standard XXXX(1)
  769.      syntax; e.g. ####rrrrrrrrggggggggbbbbbbbb where the red, green and blue components are two
  770.      digit hex numbers, or the XXXX(1) color database names may also be used.  As
  771.      a special case, if a previously defined color scheme name is used, then
  772.      the color for the plot will be the next unused color from the that color
  773.      scheme.  Color scheme names take precedence over color names, so care is
  774.      required not to use names for color schemes which clash with names in the
  775.      color name database.  If all colors in the color scheme have been used,
  776.      then the list is recycled.
  777.  
  778.      Metrics which have a singular instance domain should not specify an
  779.      instance.  If an IIIInnnnssssttttaaaannnncccceeee is given, the <_i_n_s_t_a_n_c_e> name extends to the
  780.      end of the line (i.e. spaces are allowed, but <_i_n_s_t_a_n_c_e> should not be
  781.      quoted).  If there are multiple instances of the same metric, separate
  782.      PPPPllllooootttt specifications may be given in order to create plots of only
  783.      specific instances.  Alternatively, if the IIIInnnnssssttttaaaannnncccceeee keyword is missing
  784.      and the metric does not have a singular instance domain (i.e. there may
  785.      be multiple instances), then a plot is created for every instance.  If
  786.  
  787.  
  788.  
  789.                                                                        PPPPaaaaggggeeee 11112222
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  797.  
  798.  
  799.  
  800.      the keyword MMMMaaaattttcccchhhhiiiinnnngggg is used (instead of IIIInnnnssssttttaaaannnncccceeee), then plots will be
  801.      created for all instances which have instance names that match the
  802.      supplied regular expression pattern, <_r_e_g_e_x>.  See rrrreeeeggggeeeexxxx(3G) for details
  803.      about regular expressions.  Lines which are likely to create multiple
  804.      plots from the one PPPPllllooootttt specification would normally use a color scheme
  805.      for <_c_o_l_o_r> so that each plot is created with a different color.
  806.  
  807.      Finally, there should be exactly one line starting with VVVVeeeerrrrssssiiiioooonnnn.  If
  808.      <_n_u_m_b_e_r> is 1111....1111 (or later), then the hhhhoooosssstttt ddddyyyynnnnaaaammmmiiiicccc and hhhhoooosssstttt lllliiiitttteeeerrrraaaallll syntax
  809.      is parsed (in version 1111....0000 this syntax is ignored).  The default is hhhhoooosssstttt
  810.      lllliiiitttteeeerrrraaaallll, meaning when this configuration file is loaded as a View, the
  811.      <_h_o_s_t> specifies the actual host for each plot.  If the configuration
  812.      file is hhhhoooosssstttt ddddyyyynnnnaaaammmmiiiicccc, then the <_h_o_s_t> specified for each plot is ignored,
  813.      instead being replaced by the current host in the View Selection dialog
  814.      (<_h_o_s_t> in this case is normally ****).
  815.  
  816. GGGGEEEENNNNEEEERRRRAAAALLLLIIIIZZZZEEEEDDDD CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEESSSS
  817.      Configuration files saved through the VVVViiiieeeewwww SSSSaaaavvvveeee option of the VVVViiiieeeewwwwssss menu
  818.      contain the host and metric instance information from the chart at the
  819.      time the view is saved.
  820.  
  821.      These specific configuration files can be tranformed into more general
  822.      views by the following procedure:
  823.  
  824.      1.  Replace lllliiiitttteeeerrrraaaallll by ddddyyyynnnnaaaammmmiiiicccc in the VVVVeeeerrrrssssiiiioooonnnn line.
  825.  
  826.      2.  Replace the <_h_o_s_t> by an asterisk (*) in each PPPPllllooootttt line.  Strictly
  827.          speaking this is not necessary, but it improves the readability of
  828.          the configuration file.
  829.  
  830.      3.  If there are multiple PPPPllllooootttt lines for the same metric, but with
  831.          different IIIInnnnssssttttaaaannnncccceeee choices, you may choose to replace these by a
  832.          single PPPPllllooootttt line with a CCCCoooolllloooorrrr of ####----ccccyyyycccclllleeee (is is suggested that all
  833.          CCCCoooolllloooorrrr specifications in the same CCCChhhhaaaarrrrtttt are also changed to ####----ccccyyyycccclllleeee),
  834.          and the IIIInnnnssssttttaaaannnncccceeee specification is either removed or replaced by a
  835.          MMMMaaaattttcccchhhhiiiinnnngggg specification.
  836.  
  837.      For example, the following might be saved:
  838.          Version 1.2 host literal
  839.          Chart Style plot
  840.              Plot Color #ffff33 Host gonzo Metric cisco.rate_in Instance wanmelb:s0
  841.              Plot Color #3380ff Host gonzo Metric cisco.rate_in Instance wanptg:e0
  842.              Plot Color #ff3333 Host gonzo Metric cisco.rate_in Instance wanptg:s0
  843.          Chart Style plot
  844.              Plot Color #ffff33 Host gonzo Metric cisco.rate_out Instance wanmelb:s0
  845.              Plot Color #3380ff Host gonzo Metric cisco.rate_out Instance wanptg:e0
  846.              Plot Color #ff3333 Host gonzo Metric cisco.rate_out Instance wanptg:s0
  847.  
  848.      Following the procedure above, this might be transformed to produce:
  849.          Version 1.2 host dynamic
  850.          Chart Style plot
  851.  
  852.  
  853.  
  854.                                                                        PPPPaaaaggggeeee 11113333
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861. PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))                                                          PPPPMMMMCCCCHHHHAAAARRRRTTTT((((1111))))
  862.  
  863.  
  864.  
  865.              Plot Color #-cycle Host * Metric cisco.rate_in Matching .*:s[0-9]*
  866.          Chart Style plot
  867.              Plot Color #-cycle Host * Metric cisco.rate_out Matching .*:s[0-9]*
  868.  
  869.      The end result is a view that is not only useful on any host with the
  870.      Cisco PMDA installed, but the plotted instances will include all serial
  871.      interfaces that the Cisco PMDA has been configured to monitor.
  872.  
  873. FFFFIIIILLLLEEEESSSS
  874.      ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmnnnnssss////*
  875.              default PMNS specification files
  876.      ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmcccchhhhaaaarrrrtttt
  877.              the default directory for pre-defined Views
  878.      ~~~~////....ppppccccpppp
  879.              the default directory for user-defined Views
  880.      ////vvvvaaaarrrr////ppppccccpppp////ccccoooonnnnffffiiiigggg////ppppmmmmllllooooggggggggeeeerrrr////ccccoooonnnnffffiiiigggg....vvvviiiieeeewwww....****
  881.              ppppmmmmllllooooggggggggeeeerrrr(1) configuration files for pre-defined views
  882.      ////uuuussssrrrr////lllliiiibbbb////XXXX11111111////aaaapppppppp----ddddeeeeffffaaaauuuullllttttssss////PPPPmmmmCCCChhhhaaaarrrrtttt
  883.              application defaults
  884.  
  885. CCCCAAAAVVVVEEEEAAAATTTT
  886.      There is currently no way to load a different name space after ppppmmmmcccchhhhaaaarrrrtttt
  887.      has started.  This presents a problem when the name space on the local
  888.      host does not adequately represent the set of metrics available on a
  889.      remote host.  This issue will be addressed in a future release of the
  890.      Performance Co-Pilot (PCP).
  891.  
  892.      If the X11 option ----ggggeeeeoooommmmeeeettttrrrryyyy specifies a window height but no
  893.      configuration file is specified (----cccc), then ppppmmmmcccchhhhaaaarrrrtttt ignores the requested
  894.      height for the initial window.  This is necessary because the height of
  895.      the time scale graph area at the bottom of the main window is derived
  896.      from the vertical size of the axis font (see the application resource
  897.      xxxxrrrrttttAAAAxxxxiiiissssFFFFoooonnnntttt).
  898.  
  899.      If the XXXX(1) display is not ``GL-Capable'', then ppppmmmmcccchhhhaaaarrrrtttt can still be used
  900.      but the application resource ****uuuusssseeeeGGGGllll needs to be set to FFFFaaaallllsssseeee.  This can
  901.      be done from the command line, e.g.  ppppmmmmcccchhhhaaaarrrrtttt ----xxxxrrrrmmmm """"****uuuusssseeeeGGGGllll:::: FFFFaaaallllsssseeee"""" or via
  902.      any of the standard resource manager mechanisms.
  903.  
  904. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  905.      XXXX(1), ddddkkkkvvvviiiissss(1), mmmmppppvvvviiiissss(1), ppppmmmmaaaaffffmmmm(1), ppppmmmmccccdddd(1), ppppmmmmiiiieeee(1), ppppmmmmiiiinnnnffffoooo(1),
  906.      ppppmmmmllllooooggggggggeeeerrrr(1), ppppmmmmttttiiiimmmmeeee(1), ppppmmmmvvvvaaaallll(1), ppppmmmmvvvviiiieeeewwww(1), ppppmmmmPPPPaaaarrrrsssseeeeTTTTiiiimmmmeeeeWWWWiiiinnnnddddoooowwww(3) and
  907.      eeeennnnvvvviiiirrrroooonnnn(5).
  908.  
  909. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  910.      Are intended to be self explanatory.
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.                                                                        PPPPaaaaggggeeee 11114444
  921.  
  922.  
  923.  
  924.